#ifndef __DATAIO_H__
#define __DATAIO_H__
#include <istream>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/features2d/features2d.hpp>
using namespace std;
using namespace cv;
class DataIO{
public:
    DataIO();
    void Read_image(string image_dir,string image_time_dir,vector<string> &img_names,vector<double> &timestamps);
    void Read_imu(string imudata_dir,vector<double> &timestamps,vector<Point3f> &v_acc,vector<Point3f> &v_gyro);
    // void Set_image_dir(string dir);
    // void Set_image_timestamp_dir(string dir);
    // void Set_imudata_dir(string dir);

private:
    // string ms_image_dir;
    // string ms_image_timestamp_dir;
    // string ms_imudata_dir;
};
#endif // __DATAIO_H__